package com.ruoyi.lobby.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构需求对象 demand
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public class Demand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long reqId;

    /** 机构id */
    private Long agencyId;
    /** 机构名称 */
    private String agencyName;

    /** 规格 */
    @Excel(name = "规格")
    private String specs;

    /** 数量 */
    @Excel(name = "数量")
    private String quantity;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public String getAgencyName() {
        return agencyName;
    }

    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
    }

    public void setReqId(Long reqId)
    {
        this.reqId = reqId;
    }

    public Long getReqId() 
    {
        return reqId;
    }
    public void setAgencyId(Long agencyId) 
    {
        this.agencyId = agencyId;
    }

    public Long getAgencyId() 
    {
        return agencyId;
    }
    public void setSpecs(String specs) 
    {
        this.specs = specs;
    }

    public String getSpecs() 
    {
        return specs;
    }
    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }
    public void setpTime(Date pTime) 
    {
        this.pTime = pTime;
    }

    public Date getpTime() 
    {
        return pTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reqId", getReqId())
            .append("agencyId", getAgencyId())
            .append("specs", getSpecs())
            .append("quantity", getQuantity())
            .append("pTime", getpTime())
            .append("status", getStatus())
            .toString();
    }
}
